"To avoid the hassle" refers to the act of preventing or steering clear of a difficult or annoying situation or task.